/**
 * 
 */
package com.ffcs.crmd.tsp.common.constant;

/**
 * 功能说明:
 *
 * @author FFCS-ZHONGFUHUA
 * 
 * @since 
 *
 */
public class JobRefireLevel {
    
    public static final Long[] levels = new Long[] {30 * 1000L, 60 * 1000L, 2 * 60 * 1000L, 3 * 60 * 1000L, 5 * 60 * 1000L, 10 * 60 * 1000L,
            20 * 60 * 1000L, 30 * 60 * 1000L,  60 * 60 * 1000L};
    
    
    public static long getTime(int level){
        if(level > levels.length){
            return levels[levels.length - 1];
        }else{
            return levels[level - 1];
        }
    }
}
